|
FPr (Function-level Programming right-associative) is a programming language that is an implementation of an FP-System. FP was invented by John Backus and described in his Turing Award lecture.〔John Backus (''Can Programming Be Liberated from the von Neumann Style? A Functional Style and Its Algebra of Programs'' ) (PDF). Stanford University, 1978〕 FPr features the list-techniques of Lisp and some techniques of object-oriented programming especially the use of the infix notation. FPr offers an alternative for the usage of local variables. ==Example== len == lenrec ° id, (0 &), nil lenrec == (nilp ° 1) -> 2 ; lenrec ° (tail ° 1), (2 + 1 &), nil Defines the function len for counting the elements of a list-object and the recursive function lenrec which is doing the loop. len : (list :: aa bb cc dd ee) Applicates the function len to a list-object with 5 elements. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「FPr (programming language)」の詳細全文を読む スポンサード リンク
|